package com.zyj.blog.backup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * @author zyj
 *
 */
@SpringBootApplication(scanBasePackages= {"com.zyj.blog"})
@ServletComponentScan
public class KittyBackupApplication extends SpringBootServletInitializer {
	
	@Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(KittyBackupApplication.class);
    }
	
	public static void main(String[] args) {
		SpringApplication.run(KittyBackupApplication.class, args);
	}
}
